-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Fix CopyPreserveEncodingsTest.lazyNoNulls #11887
Conversation
This pull request was exported from Phabricator. Differential Revision: D67318403 |
✅ Deploy Preview for meta-velox canceled.
|
@@ -327,10 +327,11 @@ TEST_F(CopyPreserveEncodingsTest, flatNoNulls) { | |||
TEST_F(CopyPreserveEncodingsTest, lazyNoNulls) { | |||
auto lazyVector = vectorMaker_.lazyFlatVector<int32_t>( | |||
10, [](vector_size_t row) { return row; }); | |||
auto copy = lazyVector->loadedVector()->copyPreserveEncodings(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a check that if someone trying to copy unloaded lazy, they still get an exception
Summary: facebookincubator#11855 updated LazyVector:: copyPreserveEncodings() but didn't update the unit test. This diff fixes the failing test. Reviewed By: Yuhta Differential Revision: D67318403
270dc70
to
f67f861
Compare
This pull request was exported from Phabricator. Differential Revision: D67318403 |
This pull request has been merged in d9a9c21. |
Summary: #11855 updated LazyVector:: copyPreserveEncodings() but didn't update the unit test. This diff fixes the failing test.
Differential Revision: D67318403